package mogal.development.triptogether.utils;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class LogService {
	
	private static LogService instance;
	private Logger rootLogger;
	
	private LogService() {
		rootLogger = LogManager.getLogger();
	}
	
	private static LogService getInstance() {
		if(instance == null) {
			instance = new LogService();
		}
		
		return instance;
	}
	
	public static Logger getRootLogger() {
		return LogService.getInstance().rootLogger;
	}
	
}